/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.cookor.poi.modules.weixin.dao;

import com.cookor.poi.common.persistence.CrudDao;
import com.cookor.poi.common.persistence.annotation.MyBatisDao;
import com.cookor.poi.modules.weixin.entity.TWeixinConfig;
import org.apache.ibatis.annotations.Param;

/**
 * 微信tokenDAO接口
 * @author poi
 * @version 2021-03-16
 */
@MyBatisDao
public interface TWeixinConfigDao extends CrudDao<TWeixinConfig> {

    TWeixinConfig findByTenantId(@Param("tenantId")Integer tenantId);

    public void updateAuthRefreshToken(@Param("appid") String appid,@Param("authRefreshToken")String authRefreshToken);
}
